package cn.yzh.Service.impl;

import cn.yzh.Service.ITeacherService;
import cn.yzh.dao.ITeacherDao;
import cn.yzh.pojo.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 严志辉
 * 创建 2020/8/20 15:03
 * @version 1
 */
@Service
public class TeacherServiceImpl implements ITeacherService {

    @Autowired
    private ITeacherDao teacherdao;

    @Override
    public Teacher loginteacher(Teacher teacher) {

        return teacherdao.loginteacher(teacher);
    }
}
